Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Disable Command Processor Extensions (Windows 2000/XP)
Category: Home > Windows > Accessories > Command Processor

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

This setting controls whether command extensions are enabled or disabled. When command extensions are used they change the behaviour of various standard command processor functions such as CD, MD, DEL, PROMPT and SET.

Open your registry and find the key below.

Create a new DWORD value called "EnableExtensions" and set it "1" to enable extensions or "0" to disable them (default is enabled).

The command extensions involve changes and/or additions to the following commands:

DEL or ERASE
COLOR
CD or CHDIR
MD or MKDIR
PROMPT
PUSHD
POPD
SET
SETLOCAL
ENDLOCAL
IF
FOR
CALL
SHIFT
GOTO
START
ASSOC
FTYPE

To get specific details, type commandname /? to view the help.

Note: This setting can also be used as a system wide policy under the HKEY_LOCAL_MACHINE hive.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|EnableExtensionsREG_DWORD0x00000001 (1)|
-
|HKEY_CURRENT_USER\Software\Microsoft\Command Processor|
-

Settings:
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Name: EnableExtensions
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: March 8, 2001

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License